﻿using System;

namespace Library.WebControls.SimpleGridView {
	public class GetEditValuesEventArgs : EventArgs {
		public GetEditValuesEventArgs(string key, SpGridView gridView) {
			Key = key;
			VisibleColumnValues = new ColumnTextValueCollection(gridView);
		}
		public string Key { get; private set; }
		public ColumnTextValueCollection VisibleColumnValues { get; private set; }
		/// <summary>
		/// Get or set Object entity for this current grid row edit
		/// </summary>
		public object DataItem { get; set; }
	}
}
